package cn.lanqiao.bigDate.entity.data;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @description 省月份信息表
 * @author lxxing
 * @date 2022-03-29
 */
@Data
@ApiModel("省月份信息表")
@TableName("data_mapd")
public class DataMapd {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @ApiModelProperty("id")
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 省份
     */
    @ApiModelProperty("省份")
    private String name;
    /**
     * riqi
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("riqi")
    private Date date;
    /**
     * 上传条数
     */
    @ApiModelProperty("上传条数")
    private String uploadcnt;
    /**
     * 品种数
     */
    @ApiModelProperty("品种数")
    private String uploadpzs;
    /**
     * 销售码洋
     */
    @ApiModelProperty("销售码洋")
    private String xsmy;
    /**
     * 库存码洋
     */
    @ApiModelProperty("库存码洋")
    private String kcmy;
    /**
     * 创建者
     */
    @ApiModelProperty("创建者")
    private String createBy;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createTime;
    /**
     * 更新者
     */
    @ApiModelProperty("更新者")
    private String updateBy;
    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime updateTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getUploadcnt() {
        return uploadcnt;
    }

    public void setUploadcnt(String uploadcnt) {
        this.uploadcnt = uploadcnt;
    }

    public String getUploadpzs() {
        return uploadpzs;
    }

    public void setUploadpzs(String uploadpzs) {
        this.uploadpzs = uploadpzs;
    }

    public String getXsmy() {
        return xsmy;
    }

    public void setXsmy(String xsmy) {
        this.xsmy = xsmy;
    }

    public String getKcmy() {
        return kcmy;
    }

    public void setKcmy(String kcmy) {
        this.kcmy = kcmy;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}
